SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55449: "The user does not have permission to perform this action" error when importing SAS® code into SAS® Data Integration Studio

DetailsAboutRate It

When you use the code importer to import SAS code into SAS Data Integration Studio, you might receive the following error:

Error accessing metadata: The user does not have permission to perform this action.

You might also receive errors similar to the following in your import log:

ERROR - com.sas.metadata.remote.MdException: The user does not have permission to perform this action.
     at com.sas.metadata.remote.MdOMIWrapperImpl.DoRequest(MdOMIWrapperImpl.java:791)
     at com.sas.metadata.remote.MdOMIUtilImpl.DoRequestNoReturn(MdOMIUtilImpl.java:2635)
     at com.sas.metadata.remote.impl.MdObjectBaseXMLImpl.updateMetadataAll(MdObjectBaseXMLImpl.java:535)
     at com.sas.metadata.remote.MdObjectStoreImpl.updatedMetadataAll(MdObjectStoreImpl.java:332)
     at com.sas.etl.models.impl.OMRAdapter.save(OMRAdapter.java:430)
     at com.sas.wadmin.sascodeimporter.JobParser.createJob(JobParser.java:407)
     at com.sas.wadmin.sascodeimporter.JobParser.parseAndCreateJob(JobParser.java:154)
     at com.sas.wadmin.sascodeimporter.AnalyzeCode.runAnalyze(AnalyzeCode.java:222)
     at com.sas.wadmin.sascodeimporter.SASCodeImporterTab.doAnalyze(SASCodeImporterTab.java:632)
     at com.sas.wadmin.sascodeimporter.SASCodeImporterTab.access$1000(SASCodeImporterTab.java:76)
     at com.sas.wadmin.sascodeimporter.SASCodeImporterTab$1.run(SASCodeImporterTab.java:575)
     at com.sas.workspace.OpRequestUI$cOperationThread.run(OpRequestUI.java:932)

Caused by: com.sas.iom.SASIOMDefs.GenericError: The user does not have permission to perform this action.
     at com.sas.iom.SASIOMDefs.GenericErrorHelper.read(GenericErrorHelper.java:21)
     at com.sas.iom.SASIOMDefs.GenericErrorHelper.extract(GenericErrorHelper.java:46)
     at com.sas.meta.SASOMI._portable_stub_IOMI.DoRequest(_portable_stub_IOMI.java:581)
     at com.sas.metadata.remote.MdOMIWrapperImpl.DoRequest(MdOMIWrapperImpl.java:742)
     ... 11 more

The error messages might occur if the user who is importing the SAS code does not have WriteMetadata permissions to library and table objects referenced in the code. WriteMetadata permissions to the library and tables should not be required to import the SAS code into a SAS Data Integration Studio job.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Data Integration StudioMicrosoft® Windows® for x644.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows 8 Enterprise 32-bit4.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows 8 Enterprise x644.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows 8 Pro 32-bit4.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows 8 Pro x644.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit4.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows 8.1 Enterprise x644.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows 8.1 Pro4.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit4.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows Server 20084.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows Server 2008 R24.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows Server 2008 for x644.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows Server 2012 Datacenter4.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter4.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows Server 2012 R2 Std4.84.9019.4 TS1M19.4 TS1M3
Microsoft Windows Server 2012 Std4.84.9019.4 TS1M19.4 TS1M3
Windows 7 Enterprise 32 bit4.84.9019.4 TS1M19.4 TS1M3
Windows 7 Enterprise x644.84.9019.4 TS1M19.4 TS1M3
Windows 7 Home Premium 32 bit4.84.9019.4 TS1M19.4 TS1M3
Windows 7 Home Premium x644.84.9019.4 TS1M19.4 TS1M3
Windows 7 Professional 32 bit4.84.9019.4 TS1M19.4 TS1M3
Windows 7 Professional x644.84.9019.4 TS1M19.4 TS1M3
Windows 7 Ultimate 32 bit4.84.9019.4 TS1M19.4 TS1M3
Windows 7 Ultimate x644.84.9019.4 TS1M19.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.